﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="View.aspx.cs" Inherits="Wicresoft.RDW.ShowContent.View" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">        .demoContent1        {            background-image: url('/content/images/book1-<%=LocationId.ToString() %><%=Language.ToString()=="CN"?"":"_en" %>.gif');        }    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="center" id="divmain" runat="server">
        <div class="box">
            <div class="main_title">
                <h2>
                    <%=Resources.NameResource.title_showContent%></h2>
            </div>
            <div class="demoContent1">
                <div class="demoContentHead">
                    <a class="lnk_sh" href="/ShowContent/View.aspx?Id=1"></a>
                    <a class="lnk_bj" href="/ShowContent/View.aspx?Id=2"></a>
                    <a class="lnk_nj" href="/ShowContent/View.aspx?Id=3"></a>
                    <a class="lnk_cd" href="/ShowContent/View.aspx?Id=4"></a>
                    <a class="lnk_qd" href="/ShowContent/View.aspx?Id=5"></a>
                </div>
                <div id="<%=style%>">
                    <div class="demoContentBody">
                        <div class="demoContentBody_L" id="divdemoContentBodyLeft" runat="server">
                            <h3>
                                <%=pagelocationname%></h3>
                            <div class="demoContentBodyMenu1">
                                <div class="demoContentBodyMenu1_up">
                                </div>
                                <asp:BulletedList ID="blistLab" runat="server" DisplayMode="LinkButton" OnClick="blistLab_Click">
                                </asp:BulletedList>
                                <div class="demoContentBodyMenu1_down">
                                </div>
                            </div>
                            <div class="demoContentBodyMenu2">
                                <ul>
                                    <asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="lvProduct_OnItemDataBound">
                                        <ItemTemplate>
                                            <li><a href="/ShowContent/View.aspx?Id=<%=proLocationid %>&labid=<%=proLabid %>&productid=<%#Eval("ProductId")%>">
                                                <span class="ui-icons-fore ui-icons"></span>
                                                <asp:Literal id="lblName" runat="server" />
                                            </a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                        </div>
                        <div class="demoContentBody_L" id="divProductLeft" runat="server" visible="false">
                            <div id="divProductname" runat="server">
                                <h3>
                                    <asp:Label CssClass="NormalBold" ID="lblProductname" runat="server"></asp:Label>
                                </h3>
                            </div>
                            <div class="products_table">
                                <table>
                                    <tbody>
                                        <tr valign="top">
                                            <td width="<%=Language.ToString()=="CN"?"22%":"27%" %>">
                                                <span class="NormalBold">
                                                    <asp:Label ID="lblDemotype" runat="server" />
                                                </span>
                                            </td>
                                            <td>
                                                <asp:Literal ID="literDemotype" runat="server" />
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td>
                                                <span class="NormalBold">
                                                    <asp:Label ID="lblDemocontent" runat="server" />
                                                </span>
                                            </td>
                                            <td>
                                                <asp:Literal ID="literDemocontent" runat="server" />
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td>
                                                <span class="NormalBold">
                                                    <asp:Label ID="lblDemostep" runat="server" />
                                                </span>
                                            </td>
                                            <td>
                                                <asp:Literal ID="literDemostep" runat="server" />
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td>
                                                <span class="NormalBold">
                                                    <asp:Label ID="lblKeycomments" runat="server" />
                                                </span>
                                            </td>
                                            <td>
                                                <asp:Literal ID="literKeycomments" runat="server" />
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="demoContentBody_R" id="divdemoContentBodyRight" runat="server">
                            <div class="demoContentBodyContent">
                                <div>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tbody>
                                            <tr>
                                                <td colspan="2">
                                                    <img id="imgProductpic1" runat="server" alt="" src="" width="352" height="172" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <img id="imgProductpic2" runat="server" alt="" src="" width="172" height="172" />
                                                </td>
                                                <td>
                                                    <img id="imgProductpic3" runat="server" alt="" src="" width="172" height="172" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <%=pageLocaComments%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <p style=" line-height:30px;">
                                                        <span style="font-size:11pt;font-family: 'Wingdings','Arial'">Ø</span><a href="<%=locationUrl %>"><strong style="font-size:11pt; text-decoration:underline; color:#528a1e;"><%=Resources.NameResource.Location_IntroduceUrl%></strong></a></p>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="demoContentBody_R" id="divProductRight" runat="server" visible="false">
                            <div class="products_img">
                                <div id="divProductpic" class="products_img">
                                    <asp:Repeater ID="rptProductpic" runat="server">
                                        <ItemTemplate>
                                            <img src="<%# Eval("Path") %>" alt="" width="172" height="172" />
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </div>
                                <div class="demoContentBodyContent">
                                    <div class="products_table">
                                        <table>
                                            <tbody>
                                                <tr valign="top">
                                                    <td width="30%">
                                                        <span class="NormalBold">
                                                            <asp:Label ID="lblEquipment" runat="server" />
                                                        </span>
                                                    </td>
                                                    <td>
                                                        <asp:Literal ID="literEquipment" runat="server" />
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td>
                                                        <span class="NormalBold">
                                                            <asp:Label ID="lblLanguage" runat="server" />
                                                        </span>
                                                    </td>
                                                    <td>
                                                        <asp:Literal ID="literLanguage" runat="server" />
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="demoContentFooter">
                            <p class="btn_previous">
                                <asp:LinkButton ID="lbtnPrevious" CssClass="ui-icons" runat="server" OnClick="lbtnPrevious_Click"></asp:LinkButton>
                            </p>
                            <p class="btn_next">
                                <asp:LinkButton ID="lbtnNext" CssClass="ui-icons" runat="server" OnClick="lbtnNext_Click"></asp:LinkButton>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
</asp:Content>
